#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
//#include <QVector>
#include <QHash>
namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    QVector<QVector<QString> > VectorGenesInWindows;
    QVector<QVector<qint32> > VectorDistanceInWindows;
    QVector<QVector<qint32> > VectorPositionInWindows;
    QVector<QString> ChroInfo;
    QVector<qint32> VectorLeft;
    QVector<qint32> VectorRight;
    qint32 NumOfQuestion;


    void core1(QString question, qint32 windows);
    int coreN(QString question, qint32 windows, qint8 coreNum);


private:
    Ui::MainWindow *ui;
    /*******here we go~~~***************/
    QHash<QString, QString> gene_species;
    QHash<QString, qint32> gene_ortholog;
    QMultiHash<qint32, QString>ortholog_gene;
    QHash<QString, QString> gene_chromosome;
    QMultiHash<QString, QString> chromosome_gene;
    QHash<QString, QString> gene_startpoint;
    QHash<QString, qint32> gene_position;
    /**********************************/
    QVector<QString> VectorGeneId;
};

#endif // MAINWINDOW_H
